package com.ruoyi.erp.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 付款记录对象 payable_account
 * 
 * @author sauger
 * @date 2022-04-04
 */

@Data
public class PayableAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 付款计划 */
    @Excel(name = "付款计划")
    private Integer planId;

    /** 付款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "付款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 付款金额 */
    @Excel(name = "付款金额")
    private BigDecimal payAmount;

    /** 银行账户 */
    @Excel(name = "银行账户")
    private Integer bankAccountId;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer approveStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String deleteFlag;

    private PayablePlan plan;

    private BankAccount bankAccount;

}
